repeat
  light = activeLightReading(3)
  if light > 37 then
    forward(A)
    forward(B)
  else 
    forward(A)
    stop(B)
  end
until isPressed(ESCAPE)
